* {
  box-sizing: border-box;
  padding: 0;
  flex-shrink: 1;
  transition: all 0.5s ease-in-out;
  margin: 0;
}
.fade-right{
  transition: all 0.5s ease-in-out;
  transform: translateX(300%);
}
.fade-left{
  transition: all 0.5s ease-in-out;
  transform: translateX(-300%);
}
a {
  color: unset;
  text-decoration: unset;
}

.container-box {
  width: 1440px;
  margin: 0 auto;
  height: 100%;
}

body {
  overflow-x: hidden;
}

.index-box {
  width: 100%;
  background-color: #fff;
  .mobile-nav,.nav-box{
    display: none;
  }
  .nav {
    width: 100%;
    height: 120px;
    background: #FCF1E3;

    .container-box {
      display: flex;
      justify-content: space-around;
      align-items: flex-end;

      .logo {
        width: 154px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;

        img {
          height: 108px;
          width: 100%;
        }
      }

      .nav-item {
        padding-bottom: 35px;
        width: 100px;
        display: flex;
        justify-content: center;
        &:after {
          content: '';
          position: absolute;
          bottom: 21px;
          width: 0;
          transition: 0.3s width ease-in;
          left: 50%;
          transform: translateX(-50%);
          height: 3px;
          background: #71BE12;
        }
        &:hover{
          position: relative;
          &:after {

            width: 100px;
          }

          a {
            color: #71BE12;

          }
        }
        &.nav-item-active {
          position: relative;

          &:after {
            width: 100px;

          }

          a {
            color: #71BE12;

          }
        }

        a {
          font-weight: 400;
          font-size: 24px;
          color: #1B1B1B;
        }
      }
    }
  }

  .banner {
    width: 100%;
    height: 700px;

    .swiper-pagination-bullet {
      width: 50px;
      height: 8px;
      background: #FFFFFF;
      border-radius: unset;
      opacity: 1;
      margin: 0 12px !important;
    }

    .swiper-pagination-bullet-active {
      background: #30440C;
    }

    .swiper-slide {
      width: 100%;
      height: 100%;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;

      .info-box {
        width: 800px;
        height: 250px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-weight: 400;
        color: #CBF383;

        h1 {

          line-height: 60px;
          font-size: 72px;
        }

        span {
          margin-top: 18px;
          font-size: 36px;
        }
      }
    }
  }

  .btn {
    width: 120px;
    height: 60px;
    margin-top: 140px;
    background: #498400;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 24px;
    color: #FFFFFF;
  }

  .header-box {
    display: flex;
    align-items: center;

    span {
      font-weight: bold;
      margin-left: 6px;
      font-size: 36px;
      color: #71BE12;
    }

    img {
      width: 70px;
      height: 53px;
    }
  }

  .about-us {
    width: 100%;
    height: 1055px;
    background-color: #FDF6ED;
    background-image: url("../images/bg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 90px;
    padding-bottom: 64px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    .content-box {
      margin-top: 194px;
      margin-right: 272px;
      width: 678px;
      font-size: 18px;
      align-self: flex-end;
      color: #000;
      display: flex;
      flex-direction: column;
      line-height: 48px;

      > span:first-child:before {
        content: "果之司";
        font-weight: bold;
        font-size: 24px;
        color: #30440C;
        line-height: 48px;
      }

      > span:nth-child(2) {
        text-indent: 2em;
      }

    }

    /*&:after {
      content: "";
      right: -43px;
      opacity: 0.1;
      top: 380px;
      position: absolute;
      background-image: url("../images/cz.png");
      width: 305px;
      height: 220px;


    }*/
  }

  .fruit-box {
    background-color: #fff;
    width: 100%;
    height: 1250px;

    .container-box {
      display: flex;
      padding: 80px 0 110px 0;
      flex-direction: column;
      align-items: center;
      .btn{
        margin-top: 87px;
        background: #71BE12;
      }
      .fruit-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 34px;

        .item {
          width: 100%;
          height: 400px;
          background: #FFFFFF;
          border-radius: 10px;
          border: 2px solid #D4D2D2;
          &:hover{
            border: 2px solid #9DB337;
            background: #FDF6ED;
          }

          a {
            width: 100%;
            height: 100%;
            padding-top: 68px;
            display: flex;
            flex-direction: column;
            align-items: center;
            img{
              width: 280px;
              height: 188px;
            }
            span{
              font-weight: 400;
              margin-top: 38px;
              font-size: 24px;
              color: #000000;
            }
          }
        }
      }
    }
  }
  .plant-box{
    height: 1600px;
    width: 100%;
    background: #FDF6ED;
    .container-box {
      display: flex;
      padding: 30px 0 74px 0;
      flex-direction: column;
      align-items: center;
      .plant-item{
        width: 100%;
        height: 580px;
        display: flex;
        position: relative;
        margin-top: 50px;
        .item-content{
          position: absolute;
          right: 70px;
          top: 140px;
          width: 650px;
          height: 380px;
          background: #FFFFFF;
          border-radius: 10px;
          display: flex;
          flex-direction: column;
          padding: 20px 20px;
          justify-content: space-between;

          .item-content-desc{
            display: flex;
            align-items: center;
            div{
              display: flex;
              flex-grow: 1;
              flex-direction: column;
              margin-left: 15px;
              span:last-child{
                font-weight: 400;
                font-size: 16px;
                color: #333;
              }
              span:first-child{
                font-weight: 600;
                font-size: 24px;
                color: #000000;
                line-height: 30px;

              }
            }
            img{
              width: 48px;
              height: 48px;
            }
          }
        }
        >img{
          width: 850px;
          height: 100%;
        }
      }
      .btn{
        margin-top: 106px;
        background: #71BE12;
      }
    }
  }
  .news-box{
    width: 100%;
    .container-box{
      display: flex;
      padding: 90px 0 74px 0;
      flex-direction: column;
      align-items: center;
      .btn{
        margin-top: 50px;
        background: #71BE12;
      }
      .news-list{
        width: 100%;
        display: grid;
        margin-top: 44px;
        grid-template-columns: repeat(3,1fr);
        column-gap: 44px;
        .item{
          width: 100%;
          background: #FDF6ED;
          border-radius: 10px;
          padding: 1px 1px 22px 1px;
          display: flex;
          flex-direction: column;
          div{
            padding: 0 22px;
            width: 100%;
            display: flex;
            flex-direction: column;
          }
          span{
            &:nth-of-type(1){
              font-weight: 400;
              margin-top: 19px;
              font-size: 24px;
              color: #000000;
            }
            &:nth-of-type(2){
              font-weight: 400;
              font-size: 16px;
              margin-top: 21px;
              color: #000000;
            }
            &:nth-of-type(3){
              font-weight: 400;
              margin-top: 21px;
              font-size: 18px;
              color: #000000;
              line-height: 30px;
            }
          }
          img{
            width: 100%;
            height: 400px;
          }
        }
      }
    }
  }
  .concat-box{
    width: 100%;
    height: 520px;
    background-image: url("../images/bg2.jpg");
    background-size: cover;

    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    h1{
      font-weight: 400;
      font-size: 48px;
      color: #000000;
    }
    h2{
      font-weight: 400;
      font-size: 24px;
      color: #000000;
      line-height: 36px;
      width: 929px;
      text-align: center;
      margin-top: 20px;
    }
    span{
      font-weight: 400;
      font-size: 48px;
      color: #000000;
      margin-top: 20px;

    }
    div{
      width: 180px;
      height: 80px;
      background: #71BE12;
      border-radius: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 50px;
      font-weight: bold;
      font-size: 30px;
      color: #FFFFFF;
    }
  }
  .footer-box{
    width: 100%;
    height: 352px;
    background: #FDF6ED;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 90px;
    gap: 20px;
    span{
      font-weight: normal;
      font-size: 18px;
      color: #000000;
    }
    img{
      width: 120px;
      height: 84px;
    }
  }
}
